﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AVCare.LMS.Models
{
    [DisplayName("UserRole")]
    [Table("SYS_USERROLE")]
    public class UserRole
    {
        [Key]
        public int ID { get; set; }

        [Column("USERROLE_ROLEID")]
        public string RoleID { get; set; }

        [Column("USERROLE_USERID")]
        public string UserID { get; set; }

        public virtual User User { get; set; }
        public virtual Role Role { get; set; }

    }
}
